<template>
  <PageMain title="详情" is-back>
    <EditorDetail :details="details"/>
  </PageMain>
</template>
<script setup>
import {ref} from "vue";
import { Plus } from '@element-plus/icons-vue'
import { useRouter, useRoute } from "vue-router";
import {http} from "@/api";
const router = useRouter()
const route = useRoute()
const id = route.params.id
const details = ref({
  name: '',
  author: '',
  source: '',
  releaseTime: '',
  details: ''
})
if (id) {
  http.Meeting.read({
    id
  }).then(res => {
    details.value = {
      ...res.data,
      details: res.data.content
    }
  })
}
</script>
<style lang="scss">
</style>
